package com.atguigu.auth.service;

import com.atguigu.model.system.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.core.userdetails.UserDetails;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author atguigu
 * @since 2024-01-16
 */
public interface SysUserService extends IService<SysUser> {

    void updateStatus(long id, Integer status);

    /**
     * 根据用户名进行查询
     * @param username 用户名称
     * @return 用户信息
     */
    SysUser getUserByUsername(String username);
}
